//
//  RegisterLongPressListener.m
//  Staff
//
//  Created by caiyao on 1/13/15.
//
//

#import "RegisterLongPressListener.h"

@implementation RegisterLongPressListener

- (void)excute {

    if ((self.command.callbackJS == nil)||(self.command.eventJS == nil))
    {
        // url param is missing fail to handle
        [self excuteNonHookFoundCallback];
        return;
    }
    [self.hookViewController registerLongPress:self.command.eventJS];
    [self excuteCallBackJSWithParameters:region_webview_status_code_0000];
    
}

@end
